#-------------------------------------------------
#
# Project created by QtCreator 2017-09-02T10:19:25
#
#-------------------------------------------------

QT       += core gui
QT       += serialport
QT       += charts
QT       += positioning

#CONFIG   += console

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = V2000_CDL
TEMPLATE = app

RC_FILE += app.rc
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    calculate/atmdata_average.cpp \
    calculate/cal_wind_avg.cpp \
    calculate/calheightvalues.cpp \
    calculate/calspec.cpp \
    calculate/data_average.cpp \
    calculate/dswf_a.cpp \
    calculate/generatefreqaxis.cpp \
    calculate/specdataprocess.cpp \
    device_base/adq_base.cpp \
    device_base/lasercontrol_base.cpp \
    device_base/motor_base.cpp \
    devices/LaserControl_KO.cpp \
    devices/adq14.cpp \
    devices/atmsensor.cpp \
    devices/dds3x25.cpp \
    devices/lasercontrol_AM.cpp \
    devices/motor_UIM241.cpp \
    devices/quectelgps.cpp \
    devices/relay_controller.cpp \
    devices/serialportthread.cpp \
    devices/usbgps.cpp \
    devices_dummy/adqdummy.cpp \
    devices_dummy/lasercontrol_dummy.cpp \
    devices_dummy/motordummy.cpp \
    devicescontrol.cpp \
    display/display_handler.cpp \
    display/display_shared_settings.cpp \
    display/leftbarpaint.cpp \
    display/main_area_paint.cpp \
    display/psd_chart_painter.cpp \
    display/right_bar_paint.cpp \
    display/timeareapaint.cpp \
    display/top_bar_paint.cpp \
    display/usertoolbar.cpp \
    file/deletefile.cpp \
    file/fdebug.cpp \
    file/filehandler.cpp \
    file/specvelosave.cpp \
    file/system_log.cpp \
    main.cpp \
    mainwindow.cpp \
    setttings/devicesshutdialog.cpp \
    setttings\parametersetdialog.cpp \
    setttings\settingfile.cpp

HEADERS += \
    calculate/atmdata_average.h \
    calculate/cal_wind_avg.h \
    calculate/calheightvalues.h \
    calculate/calspec.h \
    calculate/data_average.h \
    calculate/dswf_a.h \
    calculate/generatefreqaxis.h \
    calculate/specdataprocess.h \
    device_base/adq_base.h \
    device_base/lasercontrol_base.h \
    device_base/motor_base.h \
    devices/LaserControl_KO.h \
    devices/adq14.h \
    devices/atmsensor.h \
    devices/dds3x25.h \
    devices/lasercontrol_AM.h \
    devices/motor_UIM241.h \
    devices/quectelgps.h \
    devices/relay_controller.h \
    devices/serialportthread.h \
    devices/usbgps.h \
    devices_dummy/adqdummy.h \
    devices_dummy/lasercontrol_dummy.h \
    devices_dummy/motordummy.h \
    devicescontrol.h \
    display/display_handler.h \
    display/display_shared_settings.h \
    display/leftbarpaint.h \
    display/main_area_paint.h \
    display/psd_chart_painter.h \
    display/right_bar_paint.h \
    display/timeareapaint.h \
    display/top_bar_paint.h \
    display/usertoolbar.h \
    file/deletefile.h \
    file/fdebug.h \
    file/filehandler.h \
    file/specvelosave.h \
    file/system_log.h \
    global_defines.h \
    mainwindow.h \
    setttings/devicesshutdialog.h \
    setttings\parametersetdialog.h \
    setttings\settingfile.h

DEPENDPATH += \
        $$PWD/./\
        C:/LAPACK

FORMS += \
    devicesshutdialog.ui \
        mainwindow.ui \
    parametersetdialog.ui

win32: LIBS += -L$$quote(C:/Program Files/SP Devices/ADQAPI/) -lADQAPI\
                -L$$PWD/./ -lDDS3X25Dll

LIBS += -LC:/LAPACK/ -llibblas -lliblapack -lliblapacke

INCLUDEPATH += \
    $$quote(C:/Program Files/SP Devices/ADQAPI/)\
    $$PWD/.\
    C:/armadillo/include\
    C:/LAPACK

RESOURCES += \
    icons.qrc \
    wind.qrc
